package com.yyplatform.frontend.infra.enums;

/**
 * Created on 2024-10-17
 */
public enum UserLoginTypeEnum implements OptionEnum<Integer> {
    WEI_XIN_MIN_APP(1, "微信小程序登录"),
    ALIPAY_MIN_APP(2, "支付宝小程序登录"),
    USER_NAME_PWD(3, "用户名密码登录"),
    //
    ;

    private int val;
    private String name;

    UserLoginTypeEnum(int v, String s) {
        val = v;
        name = s;
    }

    @Override
    public String getLabel() {
        return name;
    }

    @Override
    public Integer getValue() {
        return val;
    }


}
